package com.wuh.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 讲师评论表(SysTeacherComment)实体类
 *
 */
public class TeacherComment implements Serializable {

    private Integer comentId;
    /**
    * 讲师id
    */
    private Integer teacherId;
    /**
    * 评论内容
    */
    private String comentDesc;
    /**
    * 评论用户id
    */
    private Integer commentUser;
    /**
    * 修改日期
    */
    private Date lastModify;

    /**
     * 引用实体类  一对多
     */
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getComentId() {
        return comentId;
    }

    public void setComentId(Integer comentId) {
        this.comentId = comentId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getComentDesc() {
        return comentDesc;
    }

    public void setComentDesc(String comentDesc) {
        this.comentDesc = comentDesc;
    }

    public Integer getCommentUser() {
        return commentUser;
    }

    public void setCommentUser(Integer commentUser) {
        this.commentUser = commentUser;
    }

    public Date getLastModify() {
        return lastModify;
    }

    public void setLastModify(Date lastModify) {
        this.lastModify = lastModify;
    }


    @Override
    public String toString() {
        return "TeacherComment{" +
                "comentId=" + comentId +
                ", teacherId=" + teacherId +
                ", comentDesc='" + comentDesc + '\'' +
                ", commentUser=" + commentUser +
                ", lastModify=" + lastModify +
                ", user=" + user +
                '}';
    }
}